package com.youshang520i.learningmysqlcanal.model;

import java.util.Date;

public class OperationRecord {
    private Integer id;

    private String tableName;

    private String columnName;

    private String columnKeyValue;

    private String beforeValue;

    private String afterValue;

    private Integer operationType;

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName == null ? null : columnName.trim();
    }

    public String getColumnKeyValue() {
        return columnKeyValue;
    }

    public void setColumnKeyValue(String columnKeyValue) {
        this.columnKeyValue = columnKeyValue == null ? null : columnKeyValue.trim();
    }

    public String getBeforeValue() {
        return beforeValue;
    }

    public void setBeforeValue(String beforeValue) {
        this.beforeValue = beforeValue == null ? null : beforeValue.trim();
    }

    public String getAfterValue() {
        return afterValue;
    }

    public void setAfterValue(String afterValue) {
        this.afterValue = afterValue == null ? null : afterValue.trim();
    }

    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}